import request from "@/utils/request";

export function blogList(data) {
  return request({
    url: '/blog/list',
    method: 'post',
    data
  })
}

export function deleteBlog(id) {
  return request({
    url: `/blog/del/${id}`,
    method: 'get'
  })
}
